-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding LAMMPS backend #110
Conversation
Co-authored-by: ricalessandri <ric.alessandri@gmail.com> Co-authored-by: Pablo Zubieta <8410335+pabloferz@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Thanks for looking into this. I created https://github.com/SSAGESLabs/lammps-dlext for setting up the DLExt plugin there. |
@pabloferz I happened to create my own repo: https://github.com/ndtrung81/lammps-dlext |
I see, do you mind if we transfer it to |
@pabloferz Let me first get it to a functional state with the LAMMPS backend PR, and then create PRs to the one under PySAGES. |
…in the pysages env
…kokkos cuda backend
…pt instead of reading from an input file
I am looking forward to seeing this |
args = "mydlext all dlext" | ||
args=args.split() | ||
# TODO: this still crashes | ||
#sampler = lammps_dlext.FixDLExt(context, args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
args = "mydlext all dlext" | |
args=args.split() | |
# TODO: this still crashes | |
#sampler = lammps_dlext.FixDLExt(context, args) | |
args = "1 all dlext".split() | |
sampler = lammps_dlext.FixDLExt(context, args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should hopefully work with the latest changes in SSAGESLabs/lammps-dlext#1
Co-authored-by: Pablo Zubieta <8410335+pabloferz@users.noreply.github.com>
Closing in favor of #274. |
Supersedes #110. TODO: - [x] Add examples In a separate follow up PR, we should integrate LAMMPS testing to our CI.
This PR is to add the LAMMPS backend for PySAGES. LAMMPS needs to be built as a python module and with a GPU-enabled accelerator package. For the moment, only the KOKKOS package supports access to per-atom arrays on the device.